<?php
	$kode = $_POST['kode'];
	$provinsi = $_POST['provinsi'];
	$tgl = date("Y-m-d H:i:s");
	$status = $_POST['status'];
	$sql="insert into propinsi (id_propinsi,propinsi,tanggal_input,aktif) values ('$kode','$provinsi','$tgl','$status')";
	$qry=mysql_query($sql);
	$url_sukses='utama.php?module=mod_provinsi';
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>